package com.sunyur.tailor.channel.service.inner.receiveorder.service;

import com.sunyur.tailor.channel.common.middle.base.ChannelResult;
import com.sunyur.tailor.channel.service.inner.receiveorder.model.CreateReceiveOrderModel;
import com.sunyur.tailor.channel.service.inner.receiveorder.model.ReceiveHeadModel;
import com.sunyur.tailor.channel.service.inner.receiveorder.model.ReceiveOrderListItemModel;
import com.sunyur.tailor.channel.service.inner.receiveorder.param.CreateReceiveOrderParam;
import com.sunyur.tailor.channel.service.inner.receiveorder.param.ReceiveHeadParam;
import com.sunyur.tailor.channel.service.inner.receiveorder.param.ReceiveOrderListItemParam;

import java.util.List;

/**
 * @ClassName SunyurReceiveOrderService
 * @Description 商越收货单接口
 * @Author yu.chen
 * @Date 2021/4/29 3:02
 * @Version v1.0
 */
public interface SunyurReceiveOrderService {

    /**
     * @ClassName SunyurReceiveOrderService
     * @Description 单条创建收货单
     * @Author yu.chen
     * @Date 2021/4/29 3:23
     * @Version v1.0
     */
    ChannelResult<CreateReceiveOrderModel> createReceiveOrder(CreateReceiveOrderParam createReceiveOrderParam) throws Exception;

    /**
     * @Author XuHui
     * @Description 303-收货-获取收货单行信息【已上线】http://doc.sunyur.com/pages/viewpage.action?pageId=53739914
     * @Date 14:46 2021/9/2
     **/
    ChannelResult<List<ReceiveOrderListItemModel>> getReceiveListItem(ReceiveOrderListItemParam receiveListItemParam) throws Exception;

    /**
     * @Author XuHui
     * @Description 302-收货-获取收货单头信息【已上线】http://doc.sunyur.com/pages/viewpage.action?pageId=53739912
     * @Date 14:47 2021/9/2
     **/
    ChannelResult<ReceiveHeadModel> getReceiveOrder(ReceiveHeadParam receiveHeadParam) throws Exception;
}
